package cn.yh.hospitalappointmentsystemdemo.domain.entity;


import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data

public class PreAppointments {
  @TableId(type = IdType.AUTO)
  private Long preAppointmentId;
  private Long patientId;
  private Long doctorId;
  private Long departmentId;
  private String preDate;
  private String timeSlot;
  private String status;
  private String remarks;
  @TableField(fill = FieldFill.INSERT_UPDATE)
  private Date createTime;

  @TableField(fill = FieldFill.INSERT_UPDATE)
  private String createBy;

  @TableField(fill = FieldFill.INSERT_UPDATE)
  private Date updateTime;

  @TableField(fill = FieldFill.INSERT_UPDATE)
  private String updateBy;

  @TableLogic   //逻辑删除
  private Long isDelete;



}
